#ifndef CLOGERINSTANCE_H
#define CLOGERINSTANCE_H

#include "common/commonDefFun.h"
#include "Plugins/logHelper/cLoggerInterface.h"

namespace libtool_sdk
{
#define LIB_LOG_FMT(fmt, ...) clogerInstance::getInstance()->LOG_FMT_INFO(fmt, ##__VA_ARGS__)
#define LIB_LOG_START() clogerInstance::getInstance()->startAll();
#define LIB_LOG_STOP() clogerInstance::getInstance()->stopAll();

	class clogerInstance :public cLoggerInterface
	{
	public:
		static clogerInstance* getInstance();

	private:
		clogerInstance();
		~clogerInstance();
	};
}

#endif
